<?php
	require "include/init.php";
	
	$id=$_POST['id'];
	
	$chaye_info=new Chaye_Info;
	$chaye_info->setInfo('奶香金萱', 'images/products_2_03.jpg','台湾南投','1980年代成功培育排列第十二号的新品种，命名台茶十二号，这是金萱茶学名由来，其后又命名为“金萱”，此后，以台茶十二号茶菁制作之部份发酵茶则称作金萱茶，俗称27仔。金萱茶叶子肥厚、鲜嫩，茶叶色泽翠绿有光泽，滋味清纯滑润，带有淡淡奶香及花香，风味独特，深受消费者喜爱。', array('images/products_22_03.jpg','images/products_24_03.jpg', 'images/products_23_03.jpg', 'images/products_25_03.jpg'));
	
	$comb_pinfo = "";
	$comb_pinfo .= "<table>";
	$comb_pinfo .= "<tr><td height='10px'></td></tr>";
	
	$comb_pinfo .= "<tr>";
	$comb_pinfo .= "<td align='center' valign='bottom'>";
	$comb_pinfo .= "<img src='" . $chaye_info->image . "' width='396px' height='331px' />";
	$comb_pinfo .= "</td>";
	$comb_pinfo .= "</tr>";
	
	$comb_pinfo .= "<tr>";
	$comb_pinfo .= "<td align='center' height='30px'>";
	$comb_pinfo .= $chaye_info->name;
	$comb_pinfo .= "</td>";
	$comb_pinfo .= "</tr>";
	
	$comb_pinfo .= "<tr><td height='10px'></td></tr>";
	
	$comb_pinfo .= "<tr>";
	$comb_pinfo .= "<td align='center' valign='top'>";
	$comb_pinfo .= "<div>";
	$comb_pinfo .= $chaye_info->description;
	$comb_pinfo .= "</div>";
	$comb_pinfo .= "<br>";
	$comb_pinfo .= "</td>";
	$comb_pinfo .= "</tr>";
	
	$comb_pinfo .= "<tr>";
	$comb_pinfo .= "<td align='center' valign='bottom'>";
	foreach($chaye_info->dis_images as $item)
	{
		$comb_pinfo .= "<img src='" . $item . "' width='396px' height='331px' />";
	}
	$comb_pinfo .= "</td>";
	$comb_pinfo .= "</tr>";

	$comb_pinfo .= "</table>";
	
	echo $comb_pinfo;
	
?>